<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://gson.cn/fn" prefix="el"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="easyui-layout" fit="true">
	<div data-options="region:'north'" border="false" style="height: 50px;padding: 12px;overflow: hidden;">
		<form id="studentForm" style="float: left">
			姓名：<input type="text" style="width: 70px;" id="name"  class="easyui-textbox" />&nbsp;&nbsp;&nbsp;
		</form>
			班级：
				<select id="class" style="padding: 3px;" class="easyui-combobox">
					<option>请选择</option>
					<c:forEach items="${classList }" var="list">
						<option value="${list.classId }">${list.className }</option>
					</c:forEach>
				</select>&nbsp;&nbsp;&nbsp;
			性别：
				<select id="sex" style="padding: 3px;" class="easyui-combobox">
					<option>请选择</option>
					<option value="2">男</option>
					<option value="1">女</option>
				</select>&nbsp;&nbsp;&nbsp;
			状态：
				<select id="state" style="padding: 3px;" class="easyui-combobox">
					<option>请选择</option>
					<option value="1">在读中</option>
					<option value="2">已退学</option>
					<option value="3">就业中</option>
					<option value="4">已毕业</option>
				</select>
			<a id="studentSearchForm" class="easyui-linkbutton" iconCls="icon-search">检索</a>
			<a id="studentReset"  class="easyui-linkbutton" iconCls="icon-reload" onclick="return confirm('已重置')">重置</a>
	</div>
	<div data-options="region:'center'" border="false">
		<table id="StudentGrid"></table>
	</div>
</div>
<div id="studentGridAction" style="display: none;">
		
			<c:if test="${el:contains(keys,'stu:edit') }">
				<a class="ctr edit">修改基本信息</a>
			</c:if>
			<c:if test="${el:contains(keys,'stu:buzhang') }">
		<a class="ctr zhuanbuzhang">转为部长</a>
		</c:if>
		<c:if test="${el:contains(keys,'stu:biye') }">
				<a class="ctr biye">毕业</a>
			</c:if>
			<c:if test="${el:contains(keys,'emp:zhuanban') }">
		<a class="ctr zhuanban">转班</a>
		</c:if>
		<c:if test="${el:contains(keys,'stu:fangtan') }">
				<a class="ctr fangtan">访谈</a>
			</c:if>
			<c:if test="${el:contains(keys,'stu:info') }">
		<a class="ctr studentInfo">个人详情</a>
		</c:if>
	</div> 
<div id="studentGridToolbar" style="display: none;">
		
			<c:if test="${el:contains(keys,'stu:create') }">
				<a class="easyui-linkbutton ctr create" iconCls="icon-add" plain="true">添加</a>
			</c:if>
</div> 
<script src="public/js/jx-student.js"></script>